CFLAG = -I ../../../build/release-install-cpp11/include/
LFLAG = -L ../../../build/release-install-cpp11/lib/ -lmuduo_net -lmuduo_base -pthread -ljsoncpp
all:server client
server:test_server.cc
	g++ -g -o $@ $^ -std=c++11 $(LFLAG) $(CFLAG)
client:test_client.cc
	g++ -g -o $@ $^ -std=c++11 $(LFLAG) $(CFLAG)

.PHONY:clean
clean:
	rm -rf server client